﻿
package extremefx.tools {

	/**
	 * @author Marcelo Volmaro
	 */
	public final class Callback {
		public static function create(handler:Function,...args):Function{
			var a:Array = args.slice();
			return function(...innerArgs):void {
                handler.apply(null, a.concat(innerArgs));
            };
		}
	}
}
